#!/bin/sh
sync
umount -f /boot
cd /mnt
DIRS=$(ls)
for dir in $DIRS;do
        umount -f $dir 2>/dev/null
done
sync
echo 'o' > /proc/sysrq-trigger
